import request from '../../../utils/request'

function getDatumPointList(params) {
  return request({
    url: `/jklc/datumPoint/getPage`,
    method: 'get',
    params
  })
}
function getDatumPointList_(params) {
  return request({
    url: `/jklc/datumPoint/getList`,
    method: 'get',
    params
  })
}

function addDatumPoint(data) {
  return request({
    url: `/jklc/datumPoint`,
    method: 'POST',
    data
  })
}

function setDatumPoint(data) {
  return request({
    url: `/jklc/datumPoint`,
    method: 'PUT',
    data
  })
}
function delDatumPoint(data) {
  return request({
    url: `/jklc/datumPoint`,
    method: 'DELETE',
    data
  })
}


export {
  getDatumPointList,
  addDatumPoint,
  setDatumPoint,
  delDatumPoint,
  getDatumPointList_
}
